package com.enjoy.seata.service;

public abstract class AbstractDataCheck {

    public boolean validNegativeCheck(String field, String id) {
        return doNegativeCheck(field, id) >= 0;
    }

    public abstract int doNegativeCheck(String field, String id);
}
